var e = o(require("@/config/index")),
  t = require("@/utils/jump"),
  a = o(require("@/config/page")),
  r = require("@/utils/report");
function o(e) {
  return e && e.__esModule ? e : { default: e };
}
Component({
  properties: { info: { type: Object, default: {} } },
  data: { CDN: e.default.CDN },
  methods: {
    toSilk: function () {
      (0, r.report)("apage_antique_show", {}),
        (0, t.navigateTo)(a.default.PAGE_SILK, {});
    },
    toItem: function (e) {
      (0, r.report)("apage_antique_show", {});
      var o = e.currentTarget.dataset.item;
      (0, t.navigateTo)(a.default.PAGE_APPRECIATION_COLLECTION_CARD_INDEX, {
        id: o.mid,
      });
    },
    toZhishiItem: function (e) {
      var r = e.currentTarget.dataset.index;
      0 === r
        ? (0, t.navigateTo)(a.default.PAGE_SILK, { current: 1 })
        : 1 === r
          ? (0, t.navigateTo)(a.default.PAGE_SILK, { current: 2 })
          : 2 === r && (0, t.navigateTo)(a.default.PAGE_SILK, { current: 3 });
    },
    toZhishi: function () {
      (0, r.report)("apage_net_show", {}),
        (0, t.navigateTo)(a.default.PAGE_ZHISHI_SUBPACKEGE_HOME, {});
    },
    toCourseAll: function () {
      (0, r.report)("apage_lessons_show", {}),
        (0, t.navigateTo)(a.default.PAGE_COURSE_TRANSFER, {
          url: "plugin://course/course-list",
        });
    },
    toCourseItem: function (e) {
      (0, r.report)("apage_lessons_show", {});
      var o = e.currentTarget.dataset.item;
      (0, t.navigateTo)(a.default.PAGE_COURSE_TRANSFER, {
        url: "plugin://course/course-detail",
        id: o.id,
      });
    },
  },
});
